package com.zmxstudy.gzu.service;

import co.elastic.clients.elasticsearch.core.SearchResponse;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.zmxstudy.gzu.domain.TbSku;
import com.zmxstudy.gzu.domain.es.Query;
import com.zmxstudy.gzu.domain.es.SkuInfo;
import com.zmxstudy.gzu.utils.Result;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Repository
public interface SkuService {

    /***
     * 导入SKU数据
     */
    void importSku();
    SearchResponse<SkuInfo> search(Query query);

    SearchResponse<SkuInfo> sort();

    SearchResponse<SkuInfo> abc();

}